import React from 'react';
import { Row, Col, Icon } from 'antd';
import './style.css'

const Layout: React.FC<any> = ({ children }) => {

    return (
        <>
            {/* <div className="workbench-sidebar" id="dashboard-sidebar">
                <div className="ui fluid vertical menu">
                    <a className="item active" data-name="show" href="/cdzsha/dashboard/programs/172480" title="概览">
                        <Icon type="appstore" />
                        <div className="sidebar-icon-name">
                            盘点
                        </div>
                    </a>
                    <a className="item active" data-name="show" href="/cdzsha/dashboard/programs/172480" title="概览">
                        <Icon type="appstore" />
                        <div className="sidebar-icon-name">
                            库存
                        </div>
                    </a>
                    <a className="item active" data-name="show" href="/cdzsha/dashboard/programs/172480" title="概览">
                        <Icon type="appstore" />
                        <div className="sidebar-icon-name">
                            采购
                        </div>
                    </a>
                    <a className="item active" data-name="show" href="/cdzsha/dashboard/programs/172480" title="概览">
                        <Icon type="appstore" />
                        <div className="sidebar-icon-name">
                            非采购
                        </div>
                    </a>
                    <a className="item active" data-name="show" href="/cdzsha/dashboard/programs/172480" title="概览">
                        <Icon type="appstore" />
                        <div className="sidebar-icon-name">
                            出库
                        </div>
                    </a>
                    <a className="item active" data-name="show" href="/cdzsha/dashboard/programs/172480" title="概览">
                        <Icon type="appstore" />
                        <div className="sidebar-icon-name">
                            返库
                        </div>
                    </a>
                    <a className="item active" data-name="show" href="/cdzsha/dashboard/programs/172480" title="概览">
                        <Icon type="appstore" />
                        <div className="sidebar-icon-name">
                            报废品
                        </div>
                    </a>
                </div>
            </div> */}
            {/* <Row style={{ marginLeft: 60 }}> */}
            <Row>
                {/* <Col span={1} style={{ paddingRight: 20 }}></Col> */}
                <Col span={24}>
                    {children}
                </Col>
            </Row>
        </>
    );
};

export default Layout;

